#include "DigitalCamera.h"
#include "../Robotmap.h"
#include "../Commands/ControlDigiCam.h"

DigitalCamera::DigitalCamera() : Subsystem("DigitalCamera") {
	yAxisServo = new Servo(RobotMap::DIGITAL_MODULE_SLOT, 
						   RobotMap::OTHER_DIGI_CAMERA_Y_AXIS);
}

void DigitalCamera::InitDefaultCommand() {
	SetDefaultCommand(new ControlDigiCam());
}


void DigitalCamera::setYAxis(float y) {
	yAxisServo->Set(y);
}
